Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <form> <fieldset> <legend>Personalia:</legend> Name: <input type="text" size="30"><br> Email: <input type="text" size="30"><br> Date of birth: <input type="text" size="10"> </fieldset> </form> <form> <fieldset> <legend align="right">Personalia:</legend> Name: <input type="text" size="30"><br> Email: <input type="text" size="30"><br> Date of birth: <input type="text" size="10"> </fieldset> </form> <p>The align attribute is not supported in HTML5. Use CSS instead.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_legend_align by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:55 GMT --> </html>
Result:
Try it Yourself - © w3schools.com